package com.os;

import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * @Author Matt
 * @Date 2022/10/16
 * @Desc:
 * @Version V1.0
 */
public class StreamTest {

    public static void main(String[] args) {
        List<String> collected = Stream.of("a", "b", "c").collect(Collectors.toList());
        System.out.println(collected);

    }
}
